﻿using PcProject.Domain.Models.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PcProject.Application.Service.Userss
{
    public interface IUserService
    {
        /// <summary>
        /// 用户登录
        /// </summary>
        /// <param name="LoginName">用户名</param>
        /// <param name="LoginPwd">密码</param>
        /// <returns></returns>
        int Login(string LoginName, string LoginPwd);

        /// <summary>
        /// 根据Id查询用户
        /// </summary>
        /// <param name="id">主键</param>
        /// <returns></returns>
        List<WeiXinLoginResult> GetUsers(string id);

    }
}
